package com.cqit.bluetoothkeybox.common;

public class WxUrlConstant {
    // openid GET https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code
    public static final String LOGIN_URL = "https://api.weixin.qq.com/sns/jscode2session";

    // GET https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
    public static final String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential";

    // 获取用户信息 GET https://api.weixin.qq.com/wxa/getpaidunionid?access_token=ACCESS_TOKEN&openid=OPENID
    public static final String USER_INFO = "https://api.weixin.qq.com/wxa/getpaidunionid";
}
